import axios from "axios";
let actions = {
  async getDataFn({ commit }) {
    let res = await axios.get("/api/data.json");
    commit("getData", res.data);
  },
  addFn({ commit }, obj) {
     commit('addFn',obj)
  }
};
export default actions;
